package com.travel.server.manager.dto.response.data;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Author: LiZhenhui
 * @Date: 2018/12/14 18:37
 * @Desc:
 */
@Data
public class QueryOperateSaleTargetResponse {

    private String today;

    private String yesterday;

    private String target;

    private String total;

    @JSONField(name = "trend_list")
    private List<TrendItem> trendList;

    @Data
    public static class TrendItem{

        @JSONField(format = "yyyy-MM-dd")
        private Date day;

        @JSONField(name = "last_day", format = "yyyy-MM-dd")
        private Date lastDay;

        private String pay;

        private String add;
    }
}
